home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-09-20 | 3.4 KB | 128 lines |
- # Makefile.in --- Mesa GL Widget for X11 Toolkit Programming
- # Copyright (C) 1995 by
- # Jeroen van der Zijp <jvz@cyberia.cfdrc.com>
- # Thorsten Ohl <Thorsten.Ohl@Physik.TH-Darmstadt.de>
- #
- # This library is free software; you can redistribute it and/or
- # modify it under the terms of the GNU Library General Public
- # License as published by the Free Software Foundation; either
- # version 2 of the License, or (at your option) any later version.
- #
- # This library is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU Library General Public License for more details.
- #
- # You should have received a copy of the GNU Library General Public
- # License along with this library; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- # $Id: Makefile.in,v 1.10 1995/04/22 15:29:55 ohl Exp $
- #
- ########################################################################
-
- CFLAGS = -O
- LDFLAGS =
-
- ########################################################################
- # autoconf(1):
- ########################################################################
-
- SHELL = /bin/sh
-
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- mesa_srcdir = @mesa_srcdir@
- VPATH = @srcdir@
-
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- binprefix =
- manprefix =
-
- bindir = $(exec_prefix)/bin
- libdir = $(prefix)/lib
- srcincdir = $(top_srcdir)/include/GL
-
- CC = @CC@
- CPP = @CPP@
-
- CPPFLAGS = @CPPFLAGS@ -I$(mesa_srcdir)/include -I$(top_srcdir)/include
- DEFS = @DEFS@
-
- SYS_CFLAGS = @SYS_CFLAGS@
- X_CFLAGS = @X_CFLAGS@
-
- ARFLAGS = @ARFLAGS@
- RANLIB = @RANLIB@
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_DATA = @INSTALL_DATA@
-
- MOTIFOBJ = @MOTIFOBJ@
-
- ########################################################################
- # No user serviceable parts below!
- ########################################################################
-
- ALL_CFLAGS = $(DEFS) $(SYS_CFLAGS) $(X_CFLAGS) $(CFLAGS)
- OBJS = GLwDrawingArea.o MesaDrawingArea.o MesaWorkstation.o \
- GLwDrawingAreaMakeCurrent.o GLwDrawingAreaSwapBuffers.o \
- GLwMakeCurrent.o \
- $(MOTIFOBJ)
-
- .SUFFIXES:
- .SUFFIXES: .c .o
-
- .c.o:
- $(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $<
-
- all: libMesaGLw.a
-
- libMesaGLw.a: $(OBJS)
- ar $(ARFLAGS) $@ $(OBJS)
- -$(RANLIB) $@
-
- install: all
- $(INSTALL_DATA) libMesaGLw.a $(libdir)
-
- uninstall:
- rm -f $(libdir)/libMesaGLw.a
-
- GLwDrawingArea.o: \
- $(srcincdir)/GLwDrawA.h $(srcincdir)/GLwDrawAP.h
-
- GLwMDrawingArea.o GLwCreateMDrawingArea.c: \
- $(srcincdir)/GLwDrawA.h $(srcincdir)/GLwDrawAP.h \
- $(srcincdir)/GLwMDrawA.h $(srcincdir)/GLwMDrawAP.h
-
- MesaDrawingArea.o GLwMakeCurrent.o: \
- $(srcincdir)/GLwDrawA.h $(srcincdir)/GLwDrawAP.h \
- $(srcincdir)/MesaDrawingArea.h $(srcincdir)/MesaDrawingAreaP.h
-
- MesaWorkstation.o: \
- $(srcincdir)/GLwDrawA.h $(srcincdir)/GLwDrawAP.h \
- $(srcincdir)/MesaWorkstation.h $(srcincdir)/MesaWorkstationP.h \
- $(srcincdir)/MesaDrawingArea.h $(srcincdir)/MesaDrawingAreaP.h
-
- # Standard GNU clean* targets:
- maintainer-clean: clean
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
-
- mostlyclean: clean
-
- distclean: clean
- rm -f Makefile config.cache
-
- clean:
- rm -f libMesaGLw.a *.o .*~ *~
-
- # Additional clean* targets:
- realclean: distclean
- rm -f configure
-
- # GNU autoconf(1) targets:
- Makefile: Makefile.in $(top_srcdir)/config.status
- cd $(top_srcdir); $(SHELL) config.status
-